<div class="widget-box">
  <div class="widget-title title-bar">    
    <h3>
      <span>{{widget_title}}</span>
    </h3>
    </div>

  <div class="widget-content">
    <form role="form" class="form-horizontal" ng-submit="update(contract_type)">
      <div class="control-group">
        <label class="control-label">类型名称</label>
        <div class="controls">
          <input type="text" ng-model="contract_type.name" placeholder="必填项" required>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">过期提醒值</label>
        <div class="controls">
          <input type="text" ng-model="contract_type.recheck_time" placeholder="必填项" required>
          <span class="input-group-addon">天</span>    
        </div>
      </div>  
      <div class="form-actions">         
        <input type="submit" class="btn bg-green" value="保存">          
      </div>
    </form>
  </div> 
</div>